﻿using System.Collections.Generic;

namespace Protocol.OUSProtocol.Model
{
    public class Params
    {
        //温度曲线
        public List<int> tempFig_Day = new List<int>();
        public List<decimal> tempFig_Target_Day = new List<decimal>();
        public List<decimal> tempFig_Target_Night = new List<decimal>();
        public List<decimal> tempFig_dTempMax = new List<decimal>();
        public List<int> tempFig_WindMin = new List<int>();
        public List<int> tempFig_WindMax = new List<int>();

        //制冷--曲线 最后一个为自设模式的参数
        public List<int> cool_Day = new List<int>();
        public List<string> cool_STime = new List<string>();
        public List<string> cool_ETime = new List<string>();
        public List<decimal> cool_STemp = new List<decimal>();
        public List<decimal> cool_ETemp = new List<decimal>();
        public List<decimal> cool_EHumi = new List<decimal>();
        public List<decimal> cool_On = new List<decimal>();
        public List<decimal> cool_Off = new List<decimal>();

        //加热 曲线
        public List<int> heat_Day = new List<int>();
        public List<string> heat_STime = new List<string>();
        public List<string> heat_ETime = new List<string>();
        public List<decimal> heat_STemp = new List<decimal>();
        public List<decimal> heat_ETemp = new List<decimal>();
        public List<decimal> heat_On = new List<decimal>();
        public List<decimal> heat_Off = new List<decimal>();
        public List<int> heat_Percent = new List<int>();

        //定时输出
        public List<string> timer_On = new List<string>();
        public List<string> timer_Off = new List<string>();


        public int sys_NH3CO2 { get; set; }
        public int addr_Wmeter { get; set; }
        public int addr_Emeter { get; set; }

        //模式控制
        public int sys_RunMode { get; set; }
        public int sys_TempMode { get; set; }
        public int sys_WindMode { get; set; }
        public int sys_DoorMode { get; set; }

        //系统变量
        public int sys_FanMin { get; set; }
        public int sys_DoorMin { get; set; }
        public int sys_WindStep { get; set; }
        public int sys_DoorStep { get; set; }
        public int sys_WindTime { get; set; }
        public int sys_HumiAdd { get; set; }
        public decimal sys_HumiHigh { get; set; }
        public decimal sys_Humi_Delay { get; set; }
        public int sys_NH3Add { get; set; }
        public int sys_NH3High { get; set; }
        public decimal sys_NH3_Delay { get; set; }
        public int sys_CO2Add { get; set; }
        public int sys_CO2High { get; set; }
        public decimal sys_CO2_Delay { get; set; }
        public string sys_DayStart { get; set; }
        public string sys_DayEnd { get; set; }

        //报警参数
        public int alarm_DoorTO { get; set; }
        public decimal alarm_TempMax { get; set; }
        public decimal alarm_TempMin { get; set; }
        public decimal alarm_TempDMax { get; set; }
        public decimal alarm_TempDMin { get; set; }
        public decimal alarm_HumiMax { get; set; }
        public decimal alarm_HumiMin { get; set; }
        public int alarm_CO2Max { get; set; }
        public int alarm_NH3Max { get; set; }
        public int alarm_WindMin { get; set; }
        public List<int> alarm_TempSensor = new List<int>();
        public List<int> alarm_HumiSensor = new List<int>();
        public int alarm_NH3Sensor { get; set; }
        public int alarm_CO2Sensor { get; set; }
        public int alarm_LostPower { get; set; }
        public int sys_fixMaxWind { get; set; }

    }
}
